package com.gulimall.product.service;

import com.gulimall.common.dto.cart.CartItemDTO;
import com.gulimall.product.domain.entity.SkuInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gulimall.product.domain.vo.SkuItemVo;

import java.util.List;
import java.util.concurrent.ExecutionException;

/**
 * <p>
 * sku信息 服务类
 * </p>
 *
 * @author 坤哥
 * @since 2025-08-25
 */
public interface ISkuInfoService extends IService<SkuInfo> {
    /**
     * 获取商品详情信息
     */
    SkuItemVo getItemInfo(Long skuId) throws ExecutionException, InterruptedException;
    /**
     * 获取商品sku信息
     */
    CartItemDTO getSkuInfo(Long skuId);

//    List<SkuItemVo.SpuItemBaseAttrVo> getSpuInfo();
}
